# MySql配置
DATABASE_HOST = "127.0.0.1"
DATABASE_PORT = 3306
DATABASE_USER = "root"
DATABASE_PASSWORD = "2021"
DATABASE_NAME = "tiresias"

# JWT配置
JWT_TOKEN = '^^93t892ga9m!$bhx1l9y65ziyo!e7wts06q_m94b!vj6$2b$='
ALGORITHM = 'HS256'
JWT_EXPIRATION_DATE = 3600  # minutes


# 调度器配置
USE_DJANGO_DB = True
# USE_DJANGO_DB = False 时使用以下配置
SCHEDULER_DB = {
	'ENGINE': 'my2sql',
	'HOST': '127.0.0.11',
	'PORT': 33061,
	'USER': 'ro2ot',
	'PASSWORD': '2121',
	'NAME': 'tires1ias'
}

# 上报任务运行结果地址
REPORT_URL = "http://127.0.0.1:8000/job/createReport/"

# 系统邮箱
EMAIL_HOST = 'smtp.exmail.qq.com'
EMAIL_PORT = 465
EMAIL_HOST_USER = 'zhanglei@jushangmei.com'
EMAIL_HOST_PASSWORD = '19950106@Zl'
EMAIL_USE_SSL = True
DEFAULT_FROM_EMAIL = f'TiresiasBOT <{EMAIL_HOST_USER}>'
